result1 = (2 ** 4 + 7 - 3 * 4) / 5

result2 = (1 + 3 ** 2) * (16 % 7) / 7

print(result1)
print(result2)
